#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "ecg.h"
#include "pcg.h"
#include "breathing.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    
private:
    Ui::MainWindow *ui;
    ECG ecg;
    PCG pcg[4];
    Breathing breathing;
    void average(int n);

private slots:
    void slotOpen();
    void slotNeural();
    void slotSplit();
    void slotECGDerivative();
    void slotBreathing();
    void slotBreathingDerivative();
};

#endif // MAINWINDOW_H
